package com.forstudy.service;

import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletRequest;

/**
 * Created with IntelliJ IDEA.
 *
 * @author: erdong
 * Date: 2020/4/15
 * Time: 16:40
 * Description: No Description
 */
public interface IFileService {

    /**
     * 上传文件
     *
     * @param request   请求体
     * @param file      文件
     * @throws Exception
     */
    String upload(HttpServletRequest request, MultipartFile file) throws Exception;
}
